package com.example.prison.service;

import com.example.prison.entity.AlarmManagement;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
* @author jiang
* @description 针对表【alarm_management】的数据库操作Service
* @createDate 2023-05-29 11:14:59
*/
public interface AlarmManagementService extends IService<AlarmManagement> {

    PageInfo<AlarmManagement> get(int pageNumber, int pageSize,String alarmLevel);

    int add(AlarmManagement alarm);

    void delete(Integer[] ids);

    int update(AlarmManagement alarm, Integer id);

    AlarmManagement getById(Integer id);

    AlarmManagement getOneLevel(String level);

}
